package com.itheima.smspringboot.entity;

public class SchoolClass {
    private Integer classId;

    private String className;

    private Integer monitor;  // 外键，对应 Student 表的 stu_id

    private Integer classAdvisor;  // 外键，对应 Teacher 表的 teac_id

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getMonitor() {
        return monitor;
    }

    public void setMonitor(Integer monitor) {
        this.monitor = monitor;
    }

    public Integer getClassAdvisor() {
        return classAdvisor;
    }

    public void setClassAdvisor(Integer classAdvisor) {
        this.classAdvisor = classAdvisor;
    }


    @Override
    public String toString() {
        return "SchoolClass{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", monitor=" + monitor +
                ", classAdvisor=" + classAdvisor +
                '}';
    }
}
